package com.jyw.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jyw.common.annotation.Excel;
import com.jyw.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 系统联系人对象 sys_contact
 * 
 * @author system
 * @date 2023-10-30
 */
@Data
@TableName("sys_contact")
@ApiModel("系统联系人实体")
public class SysContact
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 部门id */
    @ApiModelProperty("部门id")
    @Excel(name = "部门id")
    private Long deptId;

    /** 联系人名称 */
    @ApiModelProperty("联系人名称")
    @Excel(name = "联系人名称")
    private String name;

    /** 联系人电话(数组) */
    @ApiModelProperty("联系人电话(数组)")
    @Excel(name = "联系人电话(数组)")
    private String phone;

    /** 类型(0默认 1主要) */
    @ApiModelProperty("类型(0默认 1主要)")
    @Excel(name = "类型(0默认 1主要)")
    private Integer state;

}
